home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
qstbats.zip
/
EXEBBS.BAT
next >
Wrap
DOS Batch File
|
1992-04-19
|
1KB
|
66 lines
rem This is my EXEBBS.BAT file that loads from RUNDB.BAT. It may differ a
rem little from yours if you run FD or Bindley.
echo off
cd \sbbs
rem This next area loads the bbs locally
if %1==local goto localsbbs
rem This statement loads BNU fossil driver. If you don't run DB, then
rem will place this in your autoexec.bat file and change it to: bnu /f
rem I lock the baud rate, when Sbbs loads, to 38400 becasue I use a HST
rem modem.
bnu /l0:38400,8n1 /f
rem This loads the bbs "spawn" fashion. You must use the RUNDB.BAT and
rem in your front end mailer, you must create the bbs file called
rem SBBS.BAT by having your mailer make it with the command ECHO EXEBBS
rem *B *P *T >SBBS.BAT. This will make the file called SBBS.BAT that
rem holds the information of the Baud Rate, Port, and Time of next
rem Event and will pass it to SBBS when it loads.
bbs -N1 -B%1 -P%2 -T%3 -E0
goto after_sbbs
:restart_sbbs
bbs -R -N1 -E0
goto after_sbbs
rem This loads your type 7 doors such as games or offline reader (if you
rem use more than QMX) or Call Back Verifier.
:after_sbbs
if errorlevel 60 goto ava
if errorlevel 59 goto outside
goto out
:ava
d:
cd\ava
ava ava.cfg d:\sbbs\
cd\sbbs
goto restart_sbbs
:localsbbs
cd\sbbs
bbs -L -N1 -E0
goto out
rem This is for a remote drop to dos.
:outside
echo off
ctty gate1 on
cd\
command.com
cd\sbbs
ctty con
goto restart_sbbs
:finish
cd\db
rundb